RECORD SOUND

This command will start recording a sound from the microphone.

  Syntax
RECORD SOUND Sound Number
RECORD SOUND Sound Number, Duration
  Parameters
Sound Number
Integer
You must specify an empty sound number using an integer value.
Duration
Integer
Duration is specified in milliseconds. Be aware that this command will only start a recording, and only capture for the specified duration

  Returns

This command does not return a value.

  Description

You can optionally specify an additional integer parameter to record a sound for any amount of seconds. The default if this parameter is not specified is five seconds of recording. You must specify an empty sound number using an integer value. Duration is specified in milliseconds. Be aware that this command will only start a recording, and only capture for the specified duration. In order to complete the recording and prepare the sound for regular use, you must call the STOP RECORDING SOUND command.

  Example Code
cls
recored sound 1,1000
wait 1000*8
stop recording sound
do
loop
end
  See also

SOUND Commands Menu
Index